package com.druid.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.druid.config.DataSourceConfig.DbContextHolder;
import com.druid.entity.CeNavigation;
import com.druid.mapper.managementmapper.CeNavigationMapper;
import com.druid.service.managementservice.ICeNavigationService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 后台管理菜单导航表 服务实现类
 * </p>
 *
 * @author druid-elf
 * @since 2019-12-25
 */
@Service
public class CeNavigationServiceImpl extends ServiceImpl<CeNavigationMapper, CeNavigation> implements ICeNavigationService {

    @Override
    public List<CeNavigation> lists() {
        System.out.println(DbContextHolder.getDbType());
        return list();
    }
}
